//
//  ZZSegmentedController.h
//  zhengzai-tv
//
//  Created by SC on 16/6/20.
//  Copyright © 2016年 zhengzai.tv. All rights reserved.
//

#import "ZZBaseViewController.h"

@class ZZSegmentedController;

@protocol ZZSegmentedControllerDelegate <NSObject>

@optional
- (void)segmentedController:(ZZSegmentedController *)segmentedController didSelectViewController:(UIViewController *)viewController;

@end

@interface ZZSegmentedController : ZZBaseViewController

@property (nonatomic, strong, readonly) UISegmentedControl *segmentedControl;
@property (nonatomic, assign) id<ZZSegmentedControllerDelegate> delegate;

@end

@interface UIViewController (ZZSegmentedControlItem)

@property (nonatomic, copy) NSString *segmentedControlItem;

@end
